package application;

import java.awt.Dimension;
import java.awt.Graphics;

import javax.swing.JDialog;
import javax.swing.JPanel;

public class Apropos extends JDialog{

	private static final long serialVersionUID = 1L;
	
	@SuppressWarnings("serial")
	public Apropos() {
		this.setTitle("A propos");
		this.setSize(new Dimension(500,300));
		
		this.setLocationRelativeTo(null);
		this.setResizable(false);
		this.setModal(true);
		
		this.setContentPane(new JPanel(){
			public void paintComponent(Graphics g){
				g.drawString("Auteurs :", 10, 20);
				g.drawString("Autelin Rémi", 20, 40);
				g.drawString("Benedetto Florian", 20, 60);
				g.drawString("Bertrand Valentin", 20, 80);
				g.drawString("Bialoux Vincent", 20, 100);
				g.drawString("Bourbia Hamdi", 20, 120);
				g.drawString("Dailly Leslie", 20, 140);
				g.drawString("Dietrich Emmanuel", 20, 160);
				g.drawString("Djehia Damien", 20, 180);
				
				g.drawString("Licence : MIT", 10, 220);
			}
		});
		
	}

	
}
